/*
 * DetectorConstruction.hh
 *
 *  Created on: 07.05.2011
 *      Author: ed
 */

#ifndef DETECTORCONSTRUCTION_HH_
#define DETECTORCONSTRUCTION_HH_
#include "globals.hh"
#include "G4VUserDetectorConstruction.hh"
#include "G4VPhysicalVolume.hh"
#include "G4LogicalSkinSurface.hh"
#include "IExperimentalVolume.hh"
#include "TrackerSD.hh"
class DetectorConstruction : public G4VUserDetectorConstruction, public IExperimentalVolume
{
private:
	G4VPhysicalVolume* aerogelBoxPhys;
	TrackerSD* trackerSD;
public:
	DetectorConstruction();
	DetectorConstruction(G4int LAbs,G4int LSc);
	virtual ~DetectorConstruction();
	G4VPhysicalVolume* Construct();
	inline TrackerSD* GetTrackerSD(){return trackerSD;}
	void SetLSc(G4double LSc);
	void SetLAbs(G4double LAbs);
	G4int GetLightOutput();
	G4int GetParticlesPerEvent();
	G4double GetLightCollection();
};

#endif /* DETECTORCONSTRUCTION_HH_ */
